﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SiteHeader.ascx.cs" Inherits="Shared_UserControl_SiteHeader" %>
<script>
    if (top.location != self.location)
        top.location = self.location;
    function changeTheme(s, e) {
        location = e.get_item().get_value();
    }
</script>
<div class="header">
    <span class="logo"></span>
    <h2>
        网站后台管理系统</h2>
    <div class="header-tool">
        主题：<telerik:RadComboBox runat="server" ID="themes" OnClientSelectedIndexChanging="changeTheme" Width="60" CssClass="padr5">
            <Items>
                <telerik:RadComboBoxItem Text="多标签" Value="index.aspx" />
                <telerik:RadComboBoxItem Text="简单" Value="index_simp.aspx" />
            </Items>
        </telerik:RadComboBox>
        <asp:Literal runat="server" ID="currentUser" />&nbsp;&nbsp; <a href="logout.aspx"
            title="退出">退出</a>
    </div>
</div>